Repository navigation
Update inference engines on paired nodes - #238
NV-sschneider wants to merge 15 commits into
Conversation
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Have the selected peer resolve release metadata, use its local updater, and stream progress for this request. Exercise target-only replacement, ownership checks, and peer authentication. Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Track offers by node and engine, refresh on lifecycle changes, and discard stale replies when a peer leaves. Forward progress and failures with the target identity. Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Name the node in Overview notices, offer the appropriate vendor link, and retain the target when retrying a managed update. Cover these controls in the renderer tests. Signed-off-by: Seth Schneider <sschneider@nvidia.com>
| { | ||
| id: `engine-manager:install-failed:${engine}`, | ||
| id: `engine-manager:${operation}-failed:${engine}`, | ||
| nodeId, |
There was a problem hiding this comment.
[P2] Keep controller transport failures separate from peer-owned errors and clear them after retry
For a controller-side connection/response timeout, this catch creates an error with the peer's nodeId and the peer engine-manager's canonical error ID, even though the peer did not produce it. Error ownership is significant: the local errors service cannot clear a peer-owned entry, and the successful update path above does not explicitly clear this controller-created failure. A successful Retry can therefore leave the earlier failure visible.
I reproduced this on paired DGX Spark/macOS nodes by inducing a real remote-control response timeout, then restoring the target manager and clicking the actual Retry button. The vLLM update succeeded and the target was usable, but the previous error remained while peer error synchronization was delayed. Resuming authoritative peer error sync cleared it. With healthy synchronization, the 30-second heartbeat can self-heal this; this is not a claim that the message remains indefinitely on a healthy connection.
Proposed fix: give controller-created transport failures a controller-owned ID scoped by target, engine and operation, retain the peer separately as the Retry target, and explicitly clear that controller-owned error after a successful retry. Keep actual peer-produced engine errors owned and cleared by the peer; do not relax origin isolation to remove this synthetic entry.
Please extend the existing remote-update tests with a transport failure followed by success while no peer error snapshot arrives: Retry should still target the same peer, the controller error should disappear immediately on success, and genuine peer errors should retain their ownership.
Description
Operators can now manage engine updates from the desktop of a paired machine. The selected node checks its own installation, downloads the applicable release and runs the update.
PR 3 of 4. Merge after #237. Review this PR’s changes.
Merge order is #236 → #237 → #238 → #239.
Release intent
Changelog title
Update an inference engine on a paired node
Changelog body
Bumps
Scope
Validation
services/tests,go test -count=1 -run '^(TestBroker_RelaysEngineUpdateRequests|TestRemoteEngine_RejectsUntrusted|TestRemoteEngineUpdate_UsesTheSelectedPeersInstallation)$' ./...passed against the refreshed services. The two-node fixture verifies the target changes and the controller retains its original installation.Risk
A remote update can briefly interrupt inference on the selected node. The peer must run an engine manager that supports update requests. The target owns release selection and execution.
Checklist